<#list accountingVoucherList as accountingVoucher>
    <tr>
        <td><p class="tab-no">${(pageNo -1) * pageSize + accountingVoucher_index+1}</p></td>
        <td><p class="width-150px">
        <#if accountingVoucher.voucherEntity??>
        	<#if accountingVoucher.voucherEntity.invoiceDate??>
        		${(accountingVoucher.voucherEntity.invoiceDate)?string("yyyy-MM")}
        	</#if>
        </#if>
        <td><p class="width-180px linkBox" onclick="popup('1000px','600px','${adminUri}/accounting/voucher/show?voucherId=${(accountingVoucher.voucherEntity.voucherId)?string("#")}')">
        <#if accountingVoucher.voucherEntity??>
        	<#if accountingVoucher.voucherEntity.voucherNo??>
        		${accountingVoucher.voucherEntity.voucherNo}
        	</#if>
        </#if>
        <td><p class="width-150px textRight">
        <#if accountingVoucher.voucherEntity??>
        	<#if accountingVoucher.voucherEntity.totalAmount??>
        		${(accountingVoucher.voucherEntity.totalAmount)?string("#,##0.00")}
        	</#if>
        </#if>
        <td><p class="width-150px">
        <#if accountingVoucher.uploadFile??>
        	<#if accountingVoucher.uploadFile.filePath??&&(accountingVoucher.uploadFile.uploadFile)??>
        		<a href="${accountingVoucher.uploadFile.filePath}${accountingVoucher.uploadFile.uploadFile}">${accountingVoucher.uploadFile.uploadFile}</a>
        	</#if>
        </#if>
        </p></td>
        <td><p class="width-150px">
        <#if accountingVoucher.createBy??>
	        <#if accountingVoucher.createBy.firstName??&&(accountingVoucher.createBy.lastName)??>
	        	${accountingVoucher.createBy.firstName}${accountingVoucher.createBy.lastName}
	        </#if>
        </#if>
        </p></td>
        <td><p class="width-150px"><#if accountingVoucher.createDate??>${(accountingVoucher.createDate)?string("yyyy-MM-dd")}</#if></p></td>
     </tr>
</#list>